/*
 * @Author: mikey.zhaopeng
 * @Date: 2020-12-02 03:01:49
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2020-12-02 03:48:11
 */

import React, { useState, useEffect, useRef } from 'react';
import { Button } from 'antd';
import { history } from 'umi';
import styles from './index.less';

// 详情看 src/util/sentry

export default class extends React.Component {
  render() {
    return (
      <div className={styles.page}>
        <Button
          type="primary"
          onClick={() => {
            console.log(i);
          }}
        >
          {' '}
          触发一个错误
        </Button>
        {/* <button onClick={methodDoesNotExist}>Break the world</button> */}
      </div>
    );
  }
}
